package com.multiple.sources.core.mapper;

import org.apache.ibatis.annotations.Mapper;

import com.multiple.sources.core.bean.Tenant;
@Mapper
public interface TenantMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Tenant record);

    int insertSelective(Tenant record);

    Tenant selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Tenant record);

    int updateByPrimaryKey(Tenant record);

	Tenant findTenantByUserId(Long userId);
}